﻿@model LotteryVoteMVC.Models.PwdModel
@using LotteryVoteMVC.Resources
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>@Resource.UpdatePassword</title>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/comm.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/ajaxHelper.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/comm.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/TableBase.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/inputs.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    @using (Html.BeginForm())
    {
        <table>
            <thead>
                <tr>
                    <td colspan="2">@Resource.UpdatePassword
                    </td>
                </tr>
            </thead>
            <tr style="background:#00ff7f">
                <td>@Resource.YourPassword
                </td>
                <td>@Html.PasswordFor(it => it.YourPassword)
                    @Html.ValidationMessageFor(it => it.YourPassword)
                </td>
            </tr>
            <tr>
                <td>@Resource.Password
                </td>
                <td>@Html.PasswordFor(it => it.Password)
                    @Html.ValidationMessageFor(it => it.Password)
                </td>
            </tr>
            <tr>
                <td>@Resource.Confirm
                </td>
                <td>@Html.PasswordFor(it => it.ConfirmPassword)
                    @Html.ValidationMessageFor(it => it.ConfirmPassword)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" name="submit" id="submit" value="@Resource.Submit" />
                    <input type="reset" name="reset" id="reset" value="@Resource.Reset" />
                </td>
            </tr>
        </table>
    }
</body>
</html>
